package com.wyh.yuhcloud.service;

import com.wyh.yuhcloud.dto.PageDto;
import com.wyh.yuhcloud.dto.QueryInfoDto;
import com.wyh.yuhcloud.entity.File;
import com.wyh.yuhcloud.entity.PageBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author wyh
 * @version 1.0
 * @date 2022/2/24 17:27
 */
public interface FileService {

    public PageBean<File> queryFile(PageDto pageDto);

    public PageBean<File> queryMap(QueryInfoDto queryInfoDto);

    public String uploadFile(MultipartFile file, String userId);

    public String addFile(File upFile);

    public String delFile(String FileId,String userId);

    public Integer fileTotal(String userId);
}
